package com.ruoyi.energy.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 变压器监测对象 omp_ny_trans_allow_check
 *
 * @author cjie
 * @date 2022-03-07
 */
@Data
@ApiModel
public class NyTransAllowCheck extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @ApiModelProperty(value = "序号")
    private String id;

    /** 申报详情id */
    @ApiModelProperty(value = "申报详情id")
    private String detailId;

    /** 箱变名称 */
    @Excel(name = "箱变名称")
    @ApiModelProperty(value = "箱变名称")
    private String transName;

    /** 企业 */
    @Excel(name = "企业名称")
    @ApiModelProperty(value = "企业名称")
    private String enName;

    /** 企业 */
    @Excel(name = "申报容量")
    @ApiModelProperty(value = "企业申报容量")
    private String allow;

    @Excel(name = "空开名称")
    @ApiModelProperty(value = "空开名称")
    private String airName;

    /** 线径 */
    @Excel(name = "线径")
    @ApiModelProperty(value = "线径")
    private String diameter;

    /** 读数 */
    @Excel(name = "监测值")
    @ApiModelProperty(value = "监测值")
    private Long value;

    /** 抄表人 */
    @ApiModelProperty(value = "抄表人")
    private String checkBy;

    /** 抄表日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "监测时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "抄表日期")
    private Date checkTime;

    @JsonFormat(pattern = "yyyy-MM")
    @ApiModelProperty(value = "抄表月份")
    private Date checkMonth;

        //---属性---
    /** 部件编号 */
    @ApiModelProperty(value = "箱变id")
    private Long transId;

    /** 箱变编号 */
    @ApiModelProperty(value = "箱变编号")
    private String transNum;

    private String parkNum;

        /** 部件编号 */
    @ApiModelProperty(value = "编码")
    private String airNum;

}
